﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 类
{
    class Boss : Enemy
    {
        protected int endhp;

        public Boss(int endhp,int sp)
        {
            this.endhp = endhp;
            base.sp = sp;
        }

        public void print()
        {
            Console.WriteLine(hp);
            Console.WriteLine(speed);
            Console.WriteLine(sp);
            Console.WriteLine(endhp);

        }
    }
}
